package cn.itsource.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class RefreshDto {

    @NotEmpty(message = "用户名不能为空")
    private String refreshToken;
    @NotEmpty(message = "密码不能为空")
    private String username;
    @NotNull(message = "类型不能为空")
    private Integer type; //0 后台 1 前台
}
